﻿@model  List<CSharpDay12__Many_to_Many_.Models.IndexShipViewModel>
<br />
@foreach (var a in Model)
{

    <div class="well container">
        <div class="row">
            <div class="col-sm-4">
                <h4><i>Ship Name: </i>@a.ShipName </h4>
                <h4><i>Total Weight: </i>@a.GrossWeight</h4>
                <h4><i>Size: </i>@a.Size</h4>
                <h4><i>Max Weight: </i>@a.MaxWeight</h4>
                <h4><i>Is at sea: </i>@a.IsAtSea</h4>
                @Html.ActionLink("View Ship's Manifest", "ViewCargoe", new { id = @a.Id }, new { @class = "btn btn-info" })
                @Html.ActionLink("Add Cargo to Ship's Manifest", "AddCargoe", new { id = @a.Id }, new { @class = "btn btn-info" })
            </div>
        </div>
    </div>

}